type DictValueType = {
  value: string,
  label: string
}

type StatusType = {
  value: number,
  label: string
}

export const dict_value_type = (): DictValueType[] => [
  {
    value: "default",
    label: "默认"
  },
  {
    value: "primary",
    label: "主要"
  },
  {
    value: "success",
    label: "成功"
  },
  {
    value: "warning",
    label: "警告"
  },
  {
    value: "danger",
    label: "危险"
  },
  {
    value: "info",
    label: "信息"
  },
  {
    value: "text",
    label: "文本"
  },
  {
    value: "link",
    label: "链接"
  },
]

export const status = (): StatusType[] => [
  {
    value: 1,
    label: "正常"
  },
  {
    value: 0,
    label: "停用"
  }
]
